package com.earl.eatbao;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;


@SpringBootApplication//等价于@Configuration,@EnableAutoConfiguration,@ComponentScan
@EnableCaching
public class Application {

	private static Logger logger = Logger.getLogger(Application.class);
	
	public static void main(String[] args) throws Exception {
		logger.debug("正在启动吃货宝系统");
		SpringApplication.run(Application.class, args);
	}
}